@import "normalize.less";
@import "mixin.less";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

body {
  color: @text-color;
  background: #eee;
  font-size: 14px;
  font-family: "Helvetica Neue", Helvetica, STHeiTi, Roboto, "Droid Sans", "Droid Sans Fallback", sans-serif;
}

a, button, input, select {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent; /* For some Androids */
  -webkit-appearance: none; /*去除系统默认的样式*/
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); /* 点击高亮的颜色*/
}

a, a:visited {
  text-decoration: none;
  cursor: pointer;
}

ul li {
  list-style: none;
}

img {
  width: 100%;
  display: block;
}

.pull-left {
  float: left;
}

.pull-right {
  float: right;
}

.clearfix {
  .clearfix();
}

.back-to-top {
  color: #666;
  position: fixed;
  right: 10px;
  bottom: 60px;
  padding: 8px;
  background: @white;
  border: @border;
  text-align: center;
  display: none;
  p {
    font-size: 12px;
    padding-top: 4px;
  }
}

.quantity {
  width: 120px;
  height: 30px;
  border: @border;
  border-radius: 6px;
  display: table;
  span {
    width: 30%;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
  }
  input {
    width: 100%;
    height: 100%;
    border: none;
    border-left: @border;
    border-right: @border;
    text-align: center;
    border-radius: 0;
  }
}
.tb-mode{
  display: table;
  .tb-cell{
    display: table-cell;
    vertical-align: middle;
  }
}

.text-right{
  text-align: right;
}

.scrm-loadding {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
}
#gb-loading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  z-index: 10000;
}
#gb-loading rect {
  fill: #fff;
}